﻿using System;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;

namespace mozhi.smarterp.BasicData.Suppliers
{
    public interface ISupplierAppService : IApplicationService
    {
        Task<SupplierDto> GetAsync(Guid id);

        Task<SupplierDto> CreateAsync(SupplierCreateDto input);

        Task<SupplierDto> UpdateAsync(SupplierUpdateDto input);

        Task<PagedResultDto<SupplierListDto>> GetListAsync(PagedResultRequestDto filter);

        Task DeleteAsync(Guid id);
    }
}
